<ion-header>
    <header-component>
        <ion-toolbar>
            <ion-buttons class="button-left">
                <img src="assets/imgs/return.svg" alt="" (click)="closeModal()">
            </ion-buttons>
            <ion-title>提示音类型</ion-title>
        </ion-toolbar>
    </header-component>
</ion-header>
<ion-content class="select-voice">
    <div class="each-voice" *ngFor="let data of vList,let i = index" (click)="selectVoice(i);$event.stopPropagation()">
        <span>{{ data.voiceName }}</span>
        <!-- <audio hidden="true" [src]="data.voicePath" id="{{'voice'+ i }}" preload=" auto ">
                <source [src]="data.voicePath " type="audio/mpeg ">
        </audio> -->
        <audio hidden="true" id="voicePlay" preload=" auto ">
        </audio>
        <ion-radio value="{{data.voiceName}} " checked="{{data.isSelected}}" style="pointer-events: none "></ion-radio>
    </div>
    <!-- <ion-list radio-group>
        <ion-item class="each-voice" *ngFor="let data of vList,let i = index" (click)="selectVoice(i);$event.stopPropagation()">
            <ion-label>Go</ion-label>
            <ion-radio checked="true" value="go"></ion-radio>
        </ion-item>
    </ion-list> -->
</ion-content>